package com.lyf.scm.plan.insfrastructure.db.dataobject.bigdata;

import com.lyf.scm.common.constants.BigDataEsConstants;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.math.BigDecimal;

/**
 * 直营预测--准确率
 *
 * @author wangchlei
 * @date 2020/10/19
 */
@Data
@Document(indexName = BigDataEsConstants.INDEX_NAME_PLAN_ACCURACY, type = BigDataEsConstants.TYPE_NAME_ACCURACY)
public class SalesPlanAccuracyEntity extends BaseEntity{

    @Field(type = FieldType.Double)
    private BigDecimal predictedQty;

    @Field(type = FieldType.Keyword)
    private String planStartDate;

    @Field(type = FieldType.Keyword)
    private String planEndDate;
}
